#!/bin/bash

# 删除 /usr/local/bin/ft.sh 文件
echo "Removing ft.sh from /usr/local/bin..."
sudo rm /usr/local/bin/ft.sh

# 从 /etc/pam.d/sshd 中移除 ft.sh 的引用
echo "Removing ft.sh entry from /etc/pam.d/sshd..."
sudo sed -i '/ft.sh/d' /etc/pam.d/sshd

echo "Uninstallation completed successfully."
